package com.spc.car.data.service.project.impl;

import com.spc.car.data.domain.project.dto.GetBidEvaluationDTO;
import com.spc.car.data.domain.project.dto.BidEvaluationDTO;
import com.spc.car.data.entity.project.ProjectBiddingEvaluation;
import com.spc.car.data.mapper.project.ProjectBiddingEvaluationMapper;
import com.spc.car.data.service.project.ProjectBiddingEvaluationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * <p>
 * 项目评标报表 服务实现类
 * </p>
 *
 * @author 
 * @since 2020-04-24
 */
@Service
public class ProjectBiddingEvaluationServiceImpl extends ServiceImpl<ProjectBiddingEvaluationMapper, ProjectBiddingEvaluation> implements ProjectBiddingEvaluationService {

    @Override
    public List<BidEvaluationDTO> listBidEvaluation(String reviewType) {
        return baseMapper.listBidEvaluation(reviewType);
    }

    @Override
    public List<GetBidEvaluationDTO> getEvaluationInfo(@NotBlank String reviewType,
                                                       @NotBlank String tendererCode) {
        return baseMapper.getEvaluationInfo(reviewType, tendererCode);
    }
}
